package com.EpidemicPrevention.mapper;

import com.EpidemicPrevention.pojo.Enrolled;
import com.EpidemicPrevention.pojo.Volunteerinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository

public interface EnrolledMapper {


        //添加用户
        int addEnrolled(Enrolled enrolled);

        //删除用户
        int deleteEnrolled(@Param("e_id") int e_id);

        //修改用户信息
        int updateEnrolled(Enrolled enrolled);


        //查看用户
        List<Enrolled> queryEnrolled(@Param("page") int page, @Param("limit") int limit,@Param("Keyword")String Keyword);


        List<Enrolled> selectWhereEnrolled();
}
